package com.doudizu.Fox;

import com.doudizu.hs.fox;

import java.util.Scanner;

public class Fox {
        fox aoao=new fox();
        Scanner inputId=new Scanner(System.in);
        String aoName=inputId.nextLine();
        aoao.setId("202112020051");
        aoao.setName("小福泥");
        aoao.setColor("橘色");
        System.out.println(aoao);
        aoao.eatFood("吃苹果");
        aoao.setapperance("软乎乎");
        aoao.setcharacter("撒娇");
        aoao.setmod("聪明");
        aoao.sethobby("和人类玩");
    }
     private String id;
    private String name;
    private String color;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "动物类名：fox{" +
                "动物id：'" + id + '\'' +
                ", 动物名称：'" + name + '\'' +
                '}';
    }

    public void eatFood(String 吃苹果){
        System.out.println("食物：吃苹果！");
    }

    public void setColor() {
        System.out.println("颜色：橘红色的！");
    }
    public void setapperance(String 软乎乎) {
        System.out.println("外表：软乎乎的耳朵和大尾巴。");
    }
    public void setcharacter(String 撒娇) {
        System.out.println("性格：会撒娇哦！");
    }
    public void setmod(String 聪明) {
        System.out.println("相处模式：红狐狸很聪明！它可以和你玩得很好！除了……");
    }
    public void sethobby(String 和人类玩) {
        System.out.println("爱好：红狐狸最喜欢和人类“一起玩“了！");
}
